Whols\Wholesale_Product_Pricing D

Total Complexity 200
Dependencies 2
Dependents 1
Total lines 1,248
Lines of code 702
Logical lines of code 422
Comment lines 348
Methods 40
Properties 9

Methods 40

Method Rating Maintainability Complexity Lines of code
get_discount_html()
B
37 18 71
get_complete_price_html()
A
40 14 59
get_price_source()
A
48 13 32
get_product_price_meta_multiple_role()
A
48 12 31
calculate_multiple_role_status()
A
44 11 45
get_max_tier_discount()
A
48 11 33
get_price_html_with_labels()
A
46 8 38
is_visible_to_user()
A
54 9 21
get_category_price_meta_multiple_role()
A
53 8 22
get_wholesale_price()
S
54 7 21
get_category_price_meta()
S
54 6 21
__construct()
S
56 6 19
calculate_single_role_status()
S
49 5 34
get_discount_info()
S
49 5 33
get_product_price_meta()
S
55 6 18
get_tiered_price_range()
S
54 5 23
getInstance()
S
57 5 17
get_user_roles()
S
60 5 13
format_price()
S
54 4 21
get_wholesale_status()
S
57 4 17
get_applicable_tier()
S
58 4 16
is_wholesale_priced()
S
68 4 7
get_flat_rate_price()
S
62 3 11
get_minimum_quantity()
S
67 3 7
get_percentage_price()
S
65 3 9
get_price_tiers()
S
70 2 6
get_pricing_model()
S
75 2 4
calculate_wholesale_status()
S
69 2 7
has_wholesale_pricing()
S
74 2 4
is_retailer_only()
S
69 2 6
is_wholesaler_only()
S
69 2 6
clearInstances()
S
80 1 3
is_flat_rate()
S
80 1 3
is_user_wholesaler()
S
80 1 3
has_minimum_quantity()
S
75 1 4
get_price_type()
S
76 1 4
get_wholesale_price_html()
S
79 1 3
calculate_percentage_of()
S
79 1 3
has_tiered_pricing()
S
76 1 4
is_percentage()
S
80 1 3